I've got the same issue. CURL-example from documentation doesn't work with payload -d ‘{”activeSpeaker”:”The name of the active speaker”}’. After wrapping payload in "aps" everything works fine:
curl -v \
--data '{"aps":{"message_id": 1, "author_name": "NaMe"}}' \
--header "apns-topic: X.voip-ptt" \
--header "apns-push-type: pushtotalk" \
--header "apns-priority: 10" \
--header "apns-expiration: 0" \
Topic:
App & System Services
SubTopic:
Notifications
Tags: